package cn.zly.spring.beans.factory.support;

import cn.zly.spring.core.io.Resource;
import cn.zly.spring.core.io.ResourceLoader;

/**
 * @author zhanglianyong
 * @date 2025/1/2
 */
public interface BeanDefinitionReader {

	BeanDefinitionRegistry getRegistry();

	ResourceLoader getResourceLoader();

	void loadBeanDefinitions(Resource resource) throws Exception;

	void loadBeanDefinitions(Resource... resources) throws Exception;

	void loadBeanDefinitions(String location) throws Exception;



}
